<?php

\LaravelHproseRouter::add('demo', function () {
    return 'demo';
});
\LaravelHproseRouter::add('getUserByName', function ($name) {
    return 'name: ' . $name;
});

//\LaravelHproseRouter::add('userUpdate', 'App\Controllers\User@update', ['model' => \Hprose\ResultMode::Normal]);
